package com.aliyun.svideo.base.sts;

public class StsInfoService {

    private StsTokenInfo mStsTokenInfo;

    private StsInfoService() {

    }

    private static class Holder {
        private final static StsInfoService INSTANCE = new StsInfoService();
    }

    public static StsInfoService getInstance() {
        return Holder.INSTANCE;
    }


    /**
     * 获取sts信息
     */
    public StsTokenInfo getStsToken() {
        return mStsTokenInfo;
    }

    public void setStsTokenInfo(StsTokenInfo stsTokenInfo) {
        mStsTokenInfo = stsTokenInfo;
    }
}
